<?php
require_once $_site->get_viewpath("mobile/common/header");
if(is_cookie_login('boss')){
	header('location: /boss/center');
	exit();	
}
?>		
</head>

	<body>
				
		<div class="logbgboss clearfloat">
			<div class="logo">
				<a href=""><img src="/static/mobile/images/logo.png"/></a>
				<p>顺运通设备老板平台</p>			
			</div>
		</div>
		
		<div class="register clearfloat" id="main">
			<form action="/handle.php" method="post" id="formlogin">
			<input type="hidden" name="h" value="boss/login">		
			<ul>
				<li class="clearfloat">
					<p class="tit fl">账号</p>
					<input type="text" name="account" value="<?php echo get_cookie('b_account');?>" class="shuru fl" placeholder="请输入账号" />
				</li>	
				
				<li class="clearfloat">
					<p class="tit fl">密码</p>
					<input type="password" name="password" value="" class="shuru fl" placeholder="请输入密码" />
				</li>
						
				<li class="clearfloat" style="display:none;">
					<p class="tit fl">验证码</p>
					<input type="text" name="code" value="" id="sendMsgCode" class="shuru shurutwo fl" placeholder="请输入右图验证码" />
					<span class="img"><img class="reloadverify" id="auth_code_img" align="middle" onClick="this.src=this.src+'&4'" src="/handle.php?h=auth_code/entry&height=35&width=100&size=14"/></span>
				</li>																				
			</ul>
			</form>
			<a href="javascript:;" class="pay-btn clearfloat" onclick="ajaxlogin('formlogin')">登录</a>
			<div class="bottom clearfloat" style="display: none;">
				<p class="fl">
					还不是会员？
					<a href="/mobile/register?id=<?php echo time();?>">立即注册</a>
				</p>
				<a href="/mobile/forget?id=<?php echo time();?>" class="fr">忘记密码？</a>
			</div>
		</div>
	</body>		
</html>